package com.brainstore.patterns.abstractfactory;

/**
 * BRAIN-STORE PROJECT.
 * <p/>
 * User: Sasha
 * Date: 23.03.12
 * Time: 23:41
 */
public class Main {

    public static void main(String[] args) {
        createSquadron(new ElfSquadronFactory());
    }

    public static void createSquadron(SquadronFactory factory) {
        Mage mage = factory.createMage();
        Archer archer = factory.createArcher();
        Warrior warrior = factory.createWarrior();
    }
}
